// File:    WorkNews.cs
// Author:  Liqun
// Created: 2013年6月25日 11:22:26
// Purpose: Definition of Class WorkNews

using System;
using System.ComponentModel.DataAnnotations;

namespace DataAccess.Models
{
	public sealed class WorkNews
	{
		[Key]
		public int WorkNewsID
		{
			get;
			set;
		}
		[Required(ErrorMessage="标题不能为空")]
		public string WorkNewsTitle
		{
			get;
			set;
		}
		public string WorkNewsContent
		{
			get;
			set;
		}
		public DateTime? WorkNewsAddTime
		{
			get;
			set;
		}
		public DateTime? WorkNewsModifyTime
		{
			get;
			set;
		}
		public string WorkNewsAtt1
		{
			get;
			set;
		}
		public string WorkNewsAtt2
		{
			get;
			set;
		}
		public string WorkNewsAtt3
		{
			get;
			set;
		}

	}
}